home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-in_the_mag-
/
synth_studies
/
resgrep03b
/
source
/
utils.h
< prev
Wrap
C/C++ Source or Header
|
1999-09-15
|
493b
|
24 lines
#ifndef CC_UTILS_H
#define CC_UTILS_H
//
// Funktionen, die das Leben erleichtern.
//
unsigned long cstr2pack(char *s);
char *pack2cstr(unsigned long p);
char *pstr2cstr(void *p);
unsigned long cstr2pack(char *s);
char *ASLGetName(void);
int NewXPos(void);
int NewYPos(void);
void CoordsUsed(void);
unsigned long GetNewFileNum(void);
#define GETBIT(f,n) (((1<<(7-(n%8)))&(*(f+n/8)))!=0 ? 1 : 0)
#define SETBIT(f,n) ( *(f+n/8)|=(1<<(7-(n%8))) )
extern struct FileRequester *fr;
#endif